import request from "../utils/request";

//发布留言
export async function issue (data) {
  return await request({
    url: '/message',
    method: 'post',
    data:data
  })
}

//查询留言
export async function list () {
    return await request({
        url: '/message',
        method: 'get',
    })
}
